package com.gable.exhibition.dao;

import com.gable.exhibition.model.SysUrl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUrlDao {
    int deleteByPrimaryKey(Long id);

    int insert(SysUrl record);

    int insertSelective(SysUrl record);

    SysUrl selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUrl record);

    int updateByPrimaryKey(SysUrl record);

    /**
     * 根据用户id查询菜单
     * @param userId
     * @Create user jacky
     * @Create date 2019/7/23
     * @return
     */
    List<SysUrl> querySysUrl(@Param("userId") Long userId);
}